/*****************************************************************************
* ui_sys_head.h: Copyright 2023 (c) CoreLink
* Desc:           
* 
* Author: Flying (weekend@111.com)
* Date: 2023-09-06 15:07:57
* Notes: 
* 
* ---------------------------------------------------------------------------
* LastEditors: 
* LastEditTime: 
*****************************************************************************/

#ifndef UI_SYS_HEAD_H_
#define UI_SYS_HEAD_H_

#ifdef __cplusplus
extern "C"
{
#endif
/*------------------------------- Includes ----------------------------------*/
#include "my_conf.h"
#include "lvgl.h"
/*----------------------------- 全局定义 ------------------------------*/

/*----------------------------- 全局类型 -----------------------------*/
typedef struct ui_sys_head_info_t_
{
    lv_obj_t *cont;
    lv_obj_t *parent;
    lv_obj_t *vis_handle;
    lv_obj_t *label_date;
    lv_timer_t *date_timer;
    lv_obj_t *placeholder1;
    lv_obj_t *placeholder2;
} ui_sys_head_info_t;

/*----------------------------- 全局外部变量 --------------------------*/

/*------------------------ 全局函数原型 -----------------------*/

ui_sys_head_info_t *ui_sys_head_create(lv_obj_t *parent);
int ui_sys_head_show(ui_sys_head_info_t *info);
int ui_sys_head_delete(ui_sys_head_info_t *info);

int ui_sys_head_reset(ui_sys_head_info_t *info, lv_anim_enable_t anim_en);



#ifdef __cplusplus
}
#endif
#endif//UI_SYS_HEAD_H_
